package com.atguigu.spring5.bean1;

public class Person {

    private String name;
    private String sex;


    public void output(){
        System.out.println(name + ":" +name + "  sex:" +sex );
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }
}
